#ifndef LIST_H_
#define LIST_H_

#define TSIZE 45
typedef enum bool{false,true} bool;

typedef struct film
{
	char	title[TSIZE];
	int 	rating;
}Item;

typedef struct node
{
	Item 		item;
	struct node *next;
}Node;

typedef Node *List;

void InitializeList(List *plist);

bool ListIsEmpty(const List *plist);

bool ListIsFull(const List *plist);

unsigned int ListItemCount(const List *plist);

bool AddItem(Item item,List *plist);

void Traverse(const List *plist,void(*pfun)(Item item));

void EmptyTheList(List *plist);

#endif /* LIST_H_ */
